package cn.qingyun.gis.modules.takeaway.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

;

/**
 * @Description: 外卖勘误表实体对象
 * @Version: V1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("takeaway_proofread")
@ApiModel(value = "TakeawayProofread对象", description = "TakeawayProofread对象")
public class TakeawayProofread implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 行政省份
     */
    @ApiModelProperty(value = "行政省份")
    @ExcelProperty(value = "省份")
    private String province;

    /**
     * 行政地市
     */
    @ApiModelProperty(value = "行政地市")
    @ExcelProperty(value = "地市")
    private String city;

    /**
     * 行政区县
     */
    @ApiModelProperty(value = "行政区县")
    @ExcelProperty(value = "区县")
    private String districts;

    /**
     * 网格名称
     */
    @ApiModelProperty(value = "网格名称")
    @ExcelProperty(value = "网格名称")
    private String gridName;

    /**
     * 网格编码
     */
    @ApiModelProperty(value = "网格编码")
    @ExcelProperty(value = "网格编码")
    private String gridId;

    /**
     * 商铺编码（poi编码）
     */
    @ApiModelProperty(value = "商铺编码（poi编码）")
    @ExcelProperty(value = "商铺编码")
    private String poiId;

    /**
     * 经度
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)//使用mp更新该字段时，可以更新为null
    @ApiModelProperty(value = "经度")
    @ExcelProperty(value = "经度")
    private BigDecimal lon;

    /**
     * 纬度
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)//使用mp更新该字段时，可以更新为null
    @ApiModelProperty(value = "纬度")
    @ExcelProperty(value = "纬度")
    private BigDecimal lat;

    /**
     * 商铺地址（poi地址）
     */
    @ApiModelProperty(value = "商铺地址（poi地址）")
    @ExcelProperty(value = "商铺地址")
    private String poiAddress;

    /**
     * 商铺名称（poi名称）
     */
    @ApiModelProperty(value = "商铺名称（poi名称）")
    @ExcelProperty(value = "商铺名称")
    private String poiName;

    /**
     * 街道名称
     */
    @ApiModelProperty(value = "街道名称")
    @ExcelProperty(value = "街道名称")
    private String streetName;

    /**
     * poi类别编码
     */
    @ApiModelProperty(value = "类别编码")
    @ExcelProperty(value = "类别编码")
    private String poiTypeEncode;

    /**
     * poi类别
     */
    @ApiModelProperty(value = "类别名称")
    @ExcelProperty(value = "类别名称")
    private String poiType;

    /**
     * 分类一
     */
    @ApiModelProperty(value = "分类一")
    @ExcelProperty(value = "分类一")
    private String typeOne;

    /**
     * 分类二
     */
    @ApiModelProperty(value = "分类二")
    @ExcelProperty(value = "分类二")
    private String typeTwo;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    /**
     * 勘误经度
     */

    @ApiModelProperty(value = "勘误经度")
    @ExcelProperty(value = "勘误经度")
    @TableField(updateStrategy = FieldStrategy.IGNORED)//使用mp更新该字段时，可以更新为null
    private BigDecimal kwLon;

    /**
     * 勘误纬度
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)//使用mp更新该字段时，可以更新为null
    @ApiModelProperty(value = "勘误纬度")
    @ExcelProperty(value = "勘误纬度")
    private BigDecimal kwLat;

    /**
     * 勘误状态
     */
    @ApiModelProperty(value = "勘误状态")
    @ExcelProperty(value = "勘误状态")
    private Integer kwStatus;

    /**
     * 勘误地址
     */
    @ApiModelProperty(value = "勘误地址")
    @ExcelProperty(value = "勘误地址")
    private String kwAddress;

    /**
     * 勘误地址描述
     */
    @ApiModelProperty(value = "勘误地址描述")
    @ExcelProperty(value = "勘误地址描述")
    private String kwAddressDescribe;

    /**
     * 勘误站点名称
     */
    @ApiModelProperty(value = "勘误站点名称")
    @ExcelProperty(value = "勘误站点名称")
    private String kwStationName;

    /**
     * 勘误工号
     */
    @ApiModelProperty(value = "勘误工号")
    @ExcelProperty(value = "勘误工号")
    private String kwPhone;

    /**
     * 微网格id
     */
    @ApiModelProperty(value = "微网格编码")
    @ExcelProperty(value = "微网格编码")
    private String microGridId;

    /**
     * 微网格名称
     */
    @ApiModelProperty(value = "微网格名称")
    @ExcelProperty(value = "微网格名称")
    private String microGridName;

    /**
     * 业务地市
     */
    @ApiModelProperty(value = "业务地市")
    @ExcelProperty(value = "业务地市")
    private String regionCity;

    /**
     * 业务地市编码
     */
    @ApiModelProperty(value = "业务地市编码")
    @ExcelProperty(value = "业务地市编码")
    private String regionCityCode;

    /**
     * 业务区县
     */
    @ApiModelProperty(value = "业务区县")
    @ExcelProperty(value = "业务区县")
    private String regionDistricts;


    /**
     * 业务区县编码
     */
    @ApiModelProperty(value = "业务区县编码")
    @ExcelProperty(value = "业务区县编码")
    private String regionDistrictsCode;

    @TableField(exist = false)
    private BigDecimal distance;

}
